-
Notifications
You must be signed in to change notification settings - Fork 47
ci. add issue and pr auto labeling bot and workflows #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… architecture types and improve label creation script
…nd use the latest Ubuntu version
…on pull request titles, enhancing automation for feature, bug, documentation, and architecture labels.
… issues based on title and body content, improving issue management and triage efficiency.
… 'aarch' and 'loongarch' keywords, improving issue categorization accuracy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR automates issue and PR labeling by introducing a GitHub bot along with dedicated workflows to tag issues and pull requests based on keywords found in their titles and bodies. Key changes include:
- Updating Cargo.toml to add general features (“iommu” and “pci”) and reorganizing feature sections.
- Creating two new workflows (.github/workflows/labeler.yml and issue-labeler.yml) to automate labeling for PRs and issues.
- Adding a labeler configuration file (.github/labeler.yml) for architecture-specific file changes.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Cargo.toml | Adds general features and reorganizes the features section to remove duplicate commented-out entries. |
| .github/workflows/labeler.yml | Introduces a workflow to label pull requests based on title keywords. |
| .github/workflows/issue-labeler.yml | Introduces a workflow to label issues based on title and body keywords. |
| .github/labeler.yml | Provides configuration for automatic label assignment based on file changes for supported architectures. |
after merging this pr, hvisor's github will automatically tags new issues and PRs with correct labels (done by
github-bot).